package com.wsx.sky.http;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author wangshuaixin
 * @Title: com.wsx.sky.http.TraceClientApplication
 * @Description: TODO
 * @date 2018/12/10
 */
@SpringBootApplication(
        scanBasePackages = {"com.wsx.sky.*"},
        exclude = {DataSourceAutoConfiguration.class}
)
@EnableFeignClients
public class TraceClientApplication {

    public static void main(String[] args) {

        SpringApplication application = new SpringApplication(TraceClientApplication.class);

        application.run(args);
        System.out.println("-----------------------------");
        System.out.println(new SimpleDateFormat("[yyyy-MM-dd HH:mm:ss]").format(new Date()) + " TraceClientApplication server started!");
        System.out.println("-----------------------------");
    }
}
